module.exports = (app) => {
  const { router, controller } = app;
  router.get("/", controller.home.index);
  router.get("/git", controller.home.getFollowers);
  router.post("/upload", controller.upload.upload);
  router.get("/ejs", controller.home.ejs);
  router.get("/handlebars", controller.home.handlebars);
  router.get("/nunjunks", controller.home.nunjunks);
  require("./routers/main.router.js")(app);
  router.resources("books", "/books", controller.book);
  // router.redirect("/", "/", 302);
};
